<?php

require_once './format_mo_string.php';
require_once './customer_functions.php';

$id = secret_split_array("Whatever", 10);
$id_hash = commit_id_strings($id);

$mo['id_hash'] = $id_hash;

$mo['uniquestring'] = (string)md5("I can has cheezburger? =^.^="); 

$mo['amount'] = 1000;

$mo_string = mo_obj_to_string($mo);


echo "<PRE>";
echo $mo_string . "<BR><BR>";


$mo2 = mo_string_to_obj($mo_string);

echo print_r($mo2);


echo "</PRE>";

?>
<HTML><BODY>
<FORM action="./merchant-check-signature.php" method="post">
		Data Set Number (s_id):<br>
		<?php  echo '<input type="hidden" name="mo" size="10" value="' . $mo_string . '/>';?>
		<input type="submit" value="Verify Signature" /><br>
		
 </FORM>
</BODY>
</HTML>